package net.qiqb.core.domain.annotation;

/**
 * 聚合根加载接口
 *
 * @param <BID>
 * @param <AR>
 */
@FunctionalInterface
public interface AggregateRootLoader<BID, AR> {

    AR loadAggregateRoot(BID bid);
}
